import { NgModule } from '@angular/core';
import { ChannelComponent } from './channel.component';
import { RouterModule, Routes } from '@angular/router';
import { ShareModule } from 'src/app/share/share.module';

const routes: Routes = [
  { path: '', component: ChannelComponent, data: { title: '电台' } }
]

@NgModule({
  declarations: [ChannelComponent],
  imports: [
    ShareModule,
    RouterModule.forChild(routes)
  ]
})
export class ChannelModule { }
